package com.mode.mvp.joke;

import com.mode.mvp.base.BaseModel;
import com.mode.mvp.base.BasePresenter;
import com.mode.mvp.base.BaseView;
import com.mode.mvp.bean.Joke;
import com.mode.mvp.listener.OnMVPListener;

public interface JokeContract {

    interface JokeView extends BaseView {
        void setJoke(Joke pJoke);
    }

    interface JokeModel extends BaseModel {
        void requestJoke(String pNum, String pSize, OnMVPListener pMVPListener);
    }

    abstract class JokePresenter extends BasePresenter<JokeModel, JokeView> {
        public abstract void requestJoke(String pNum, String pSize);
    }
}
